Step by step: How to profile your project

1. Run the profiler: menu Start / Programs / VB Watch 2 / VB Watch Profiler.
2. Click the Options... button in the toolbar and make sure the plan you want to use is selected (Full profiling is suggested).
To edit or examine it, press the Open VB Watch Control Center... button.

3. Click the Profile Project... button on the left and browse for your project you wish to profile.
If you do not have a project ready, you can load the following test project: \Program Files\VB Watch 2\Samples\VB6\Profiler Sample\TestProfiler.vbp.

Here is all what happens:


4. Exercize your application so that it executes the parts you want to profile.

If you are profiling the test project, the "Profiler Test" form appears. Click the Begin Test button. The tests proceed (the second one is much longer).


5. Close the application. Back in the profiler, your session appears in the top left list view. You can now analyze it.

If you loaded the sample project, you may refer to the VB Watch Profiler guided tour Step 4 for more information on the analyzis.


What do you want to know more about?

Topic link

VB Watch Profiler Reference

Topic link

VB Watch Profiler Guided Tour